/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-26
 * Time: 21:22
 */
// 父接口：定义默认方法 eat()
public interface Animal {
    default void eat() {
        System.out.println("动物正在吃饭");
    }
}

